<%--
    Document   : index
    Created on : Feb 3, 2010, 9:52:02 AM
    Author     : csuser
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>SuperSeeker - Login</title>
        <!--below css stylesheet defines page design-->
        <link rel="stylesheet" href="css/styles.css" type="text/css" media="screen" />
    </head>
    <body>
        <div id="wrapper">
            <!--SuperSeeker logo-->
            <img alt="." src="images/mylogo.jpg"/>
            <h1 id="clrBoth">Welcome to SuperSeeker!</h1>
            <!--login form for returning users-->
            <form method="post" action="ValidateUser.do" id="formwrapper">
                <fieldset>
                    <legend>Returning Users</legend>
                    <p id="submitp"><label>Name</label><input type="text" name="name"/></p>
                    <p id="submitp"><label>Password</label><input type="password" name="password"/></p>
                    <p class="submit"><input type="submit" value="Login"/></p>
                </fieldset>
            </form>
            <br/>
            <!--registration for for new users-->
            <form method="post" action="CreateUser.do" id="formwrapper">
                <fieldset>
                    <legend>Register</legend>
                    <p id="submitp"><label>Name</label><input type="text" name="newName"/></p>
                    <p id="submitp"><label>Password</label><input type="password" name="newPassword"/></p>
                    <p id="submitp"><label>Profile Pic</label><input type="file" name="newPic"/></p>
                    <p class="submit"><input type="submit" value="Register"/></p>
                </fieldset>
            </form>
        </div>
    </body>
</html>
